package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.common.Result;
import com.example.demo.dto.UserDTO;
import com.example.demo.entity.User;

public interface UserService extends IService<User> {


    /**
     * 用户保存及修改接口
     * @param user
     * @return
     */
    public boolean saveUser(User user);

    UserDTO login(UserDTO userDTO);

    User register(UserDTO userDTO);

}
